home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11432 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.PBI.net!usenet
  2. From: mich@pbinet.com
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Invoke a outside utility from c program in MS-Window environments
  5. Date: 24 Mar 1996 06:03:31 GMT
  6. Organization: Pacific Bell Internet Services
  7. Message-ID: <4j2ojj$36l@SNFC21_SRVR_WWW.PBI.net>
  8. References: <4inf73$lh@crucis.usc.edu>
  9. Reply-To: mich@pbinet.com
  10. NNTP-Posting-Host: ppp-5-38.rdcy01.pbinet.com
  11. X-Newsreader: IBM NewsReader/2 v1.03
  12.  
  13. In <4inf73$lh@crucis.usc.edu>, haiz@crucis.usc.edu (Hai Zhang) writes:
  14. >I try to write a c application in MS-Windows environment. In one
  15. >procedure I want user input a file name and compress the corresponding
  16. >file. I want to use pkzip to do the real job. My question is whether
  17. >it is possible to invoke a outside utility such as pkzip in MS-Windows.
  18. >In unix I could use system() function or even execl or execv(). 
  19.  
  20. You should probably post this in the windows development group, whatever
  21. that is, but the question is easily answered (so I hope the c wizards won't hit
  22. me...)
  23. just use the WinExe() function. Look it up.
  24.  
  25.